﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IPC.Communication.Framework.BasicFramework
{
    public sealed class VersionInfo
    {
        public DateTime ReleaseDate
        {
            get;
            set;
        }

        public StringBuilder UpdateDetails
        {
            get;
            set;
        }

        public SystemVersion VersionNum
        {
            get;
            set;
        }

        public override string ToString()
        {
            return this.VersionNum.ToString();
        }

        public VersionInfo()
		{
			this.ReleaseDate = DateTime.Now;
			this.UpdateDetails = new StringBuilder();
			this.VersionNum = new SystemVersion(1, 0, 0);
		}
    }
}
